package com.ysucode.service.log.impl;

import com.ysucode.dao.log.LogMapper;
import com.ysucode.domain.Log;
import com.ysucode.service.log.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class LogServiceImpl implements LogService {
    @Autowired
    private LogMapper logMapper;

    @Override
    public Integer addLog(Log log) {
        return logMapper.addLog(log);
    }
}
